package cn.wolfcode.demo.Json;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
//@Data
public class JsonResult implements Serializable {

    private boolean success;
    private String msg;

    public JsonResult() {
        this.success = true;
    }

    public JsonResult(boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
}
